<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="vue.js"></script>

</head>

<body>
    <div id="app">
        <cpnc></cpnc>
    </div>
    <template id="a1">
        <div>
            <img width="100px" src="/Users/D盘/vue练习1/vue-day03/31B5A549-D618-402E-8F5A-8421FA1805E1_1_105_c.jpeg">
            <h2>海尔兄弟 双开门冷酷至尊豪华版</h2>
            <h1>
                <font color="red">$999</font>
            </h1>
        <div>
    </template>
    <script>
        const app = new Vue({
            el: '#app',
            data: {

            },
            compnents: {
                cpnc: {
                    template: `#a1`

                }
            }
        })
    </script>
</body>

</html>